<?php
return [
    'toolbar' => [
        'enablewebaccess' => [
            'text' => '授权',
        ],
        'disablewebaccess' => [
            'text' => '取消授权',
        ],
        'reload' => [
            'text' => '刷新',
        ],
    ],
    'fg' => [
        'filterToolbar' => false,
        'treeGrid' => true,
        'colModel' => [
            [
                'label' => 'ID',
                'name' => 'id',
                'width' => 60,
                'align' => 'center',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '菜单名称',
                'name' => 'name',
                'width' => 140,
                'align' => 'left',
                'sortable' => false,
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '图标',
                'name' => 'icon',
                'width' => 40,
                'align' => 'center',
                'sortable' => false,
                'formatter' => 'formatter.icon',
                'classes' => 'gc-black padding-left',
            ],
            [
                'label' => '是否有权限',
                'name' => 'permissions',
                'width' => 100,
                'align' => 'center',
                'sortable' => false,
                'classes' => 'gc-black',
                'formatter' => "formatter.isObject",

            ],
        ],
    ],
];
